package com.heihei.entity.son;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.heihei.entity.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 歌手表
 * </p>
 *
 * @author duanhengfei
 * @since 2021-11-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_son_singer")
public class SonSingerEntity extends BaseEntity<SonSingerEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "歌手名字")
    private String singerName;

    @ApiModelProperty(value = "歌手国籍")
    private String country;

    @ApiModelProperty(value = "歌手性别（1男  2女 0未知）")
    private Integer sex;


    @Override
    protected Serializable pkVal() {
        return this.getId();
    }

}
